package com.mtsmda.web.managedBeans;

import java.util.Locale;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import com.mtsmda.web.Constants;

@ManagedBean(eager = true, name = "Language")
@SessionScoped
public class LanguageBean {

	private static Locale defaultLocale = new Locale(Constants.LOCALE_RU);

	public static void defaultLocale() {
		/*
		 * Application application = FacesContext.getCurrentInstance()
		 * .getApplication(); application.setDefaultLocale(defaultLocale);
		 */
	}

	static {
		defaultLocale();
	}

}